package com.wyx.bbs.service;

import com.wyx.bbs.domain.Article;
import com.wyx.bbs.mapper.BbsDetailMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: Wu YunXia
 * @Description:
 * @Date: Created in 14:31 2021/4/15
 * @Modefied By:
 */
@Service
public class BbsDetailService {

@Resource
BbsDetailMapper bbsDetail;
/**
 * 按PostId查询
 *
 * @return
 */
public List<Article> getByPostIds (){
    return bbsDetail.getByPostIds();
}
}
